package com.ql.dao.keshi;

import com.ql.pojo.keshi.JanYan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JianyanMapper {
    int save(JanYan janYan)throws Exception;

    List<JanYan> qryAll(@Param("start") int start,
                         @Param("end") int end,
                         @Param("name")String queryname
    ) throws Exception;
    int qryCount(@Param("name")String queryname) throws Exception;

    int del(@Param("jId")int jId) throws Exception;

    JanYan qryJYKByuId(@Param("uId")int uId) throws Exception;
}
